package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.SetmealDTO;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Setmeal;
import com.itheima.health.vo.SetmealVO;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    boolean saveUpdate(SetmealDTO setmealDTO);

    PageResult findPage(QueryPageBean queryPageBean);

    void clearOssImg();

    SetmealVO findSetMealDetailById(int id);

    Boolean addAndUpdate(SetmealDTO setmealDto);

    SetmealVO findgroupandgroupids(Integer id);
    //分页查询所有删除的数据
    PageResult deletedata(QueryPageBean pageBean);

    //查询所有套餐
    List<Setmeal> findList();
}
